import request from '@/utils/request'

// 查询帮扶成效列表
export function listBfResult(query) {
  return request({
    url: '/event/bfResult/list',
    method: 'get',
    params: query
  })
}

export function queryBfResult(query) {
  return request({
    url: '/event/bfResult/query',
    method: 'post',
    data: query
  })
}

// 查询帮扶成效详细
export function getBfResult(bfResultId) {
  return request({
    url: '/event/bfResult/' + bfResultId,
    method: 'get'
  })
}

// 新增帮扶成效
export function addBfResult(data) {
  return request({
    url: '/event/bfResult',
    method: 'post',
    data: data
  })
}

// 修改帮扶成效
export function updateBfResult(data) {
  return request({
    url: '/event/bfResult',
    method: 'put',
    data: data
  })
}

// 删除帮扶成效
export function delBfResult(bfResultId) {
  return request({
    url: '/event/bfResult/' + bfResultId,
    method: 'delete'
  })
}
